import pytest
class Test():
    def test3(self):
        print('11111')
        assert 1 == 1
    def test2(self):
        print('这是一次友好的测试')
        assert 3 == 3


def test1():
    print('222')
    assert 2 == 2

if __name__ == '__main__':
    # 生成报告
    args = ['2_pytest_basic_test.py','-vs']
    pytest.main(args)

